﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Chat_Model.ViewModel
{
    /// <summary>
    /// 聊天列表
    /// </summary>
    public class LarTalkListDto
    {
        /// <summary>
        /// 聊天列表ID 
        ///</summary>
        public string Id { get; set; }
        /// <summary>
        /// 聊天类型[1:私信;2:群聊;] 
        /// 默认值: 1
        ///</summary>
        public string Talk_Type { get; set; }
        /// <summary>
        /// 接收者ID（用户ID 或 群ID） 
        /// 默认值: 0
        ///</summary>
        public string Receiver_Id { get; set; }
        /// <summary>
        /// 是否置顶[0:否;1:是;] 
        /// 默认值: 0
        ///</summary>
        public string Is_Top { get; set; }
        /// <summary>
        /// 消息免打扰[0:否;1:是;] 
        /// 默认值: 0
        ///</summary>
        public string Is_Disturb { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
        public DateTime? Updated_at { get; set; }
        /// <summary>
        /// 用户ID 
        /// 默认值: 0
        ///</summary>
        public int? UserId { get; set; }
        /// <summary>
        /// 是否机器人[0:否;1:是;] 
        /// 默认值: 0
        ///</summary>
        public string IsRobot { get; set; }

        /// <summary>
        /// 头像地址
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 备注昵称
        /// </summary>
        public string Remark_name { get; set; }
        /// <summary>
        /// 未读数量
        /// </summary>
        public int Unread_num { get; set; } = 0;
        /// <summary>
        /// 是否在线
        /// </summary>
        public bool Online { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string Msg_Text { get; set; }
        /// <summary>
        /// 朋友ID
        /// </summary>
        public int Friend_id { get; set; }
        /// <summary>
        /// 分组ID
        /// </summary>
        public int Group_id { get; set; }
    }
}
